/*
 * 文件名：Taction.java
 * 版权：Copyright 2006-2012 Huawei Tech. Co. Ltd. All Rights Reserved. 
 * 描述： Taction.java
 * 修改人：lKF58628
 * 修改时间：2012-3-9
 * 修改内容：新增
 */
package vo;

import java.io.Serializable;

/**
 * 俄罗斯方块的模样
 * <p>
 * <p>
 * 
 * <pre>
 * </pre>
 * 
 * @author lKF58628
 * @version RCS ND V100R002C02 2012-3-9
 * @since RCS ND V100R002C02
 */
public class Taction implements Serializable
{
    /**
     * 序列号
     */
    private static final long serialVersionUID = 2676659000845672774L;

    /**
     * 旋转方向
     */
    private int rotate;

    /**
     * 所在列
     */
    private int column;

    /**
     * 下降位置
     */
    private String down;

    /**
     * 获取rotate
     * 
     * @return 返回rotate
     */
    public int getRotate()
    {
        return rotate;
    }

    /**
     *设置rotate
     * 
     * @param rotate
     *            要设置的rotate
     */
    public void setRotate(int rotate)
    {
        this.rotate = rotate;
    }

    /**
     * 获取down
     * 
     * @return 返回down
     */
    public String getDown()
    {
        return down;
    }

    /**
     *设置down
     * 
     * @param down
     *            要设置的down
     */
    public void setDown(String down)
    {
        this.down = down;
    }

    /**
     * 获取column
     * 
     * @return 返回column
     */
    public int getColumn()
    {
        return column;
    }

    /**
     *设置column
     * 
     * @param column
     *            要设置的column
     */
    public void setColumn(int column)
    {
        this.column = column;
    }

    @Override
    public String toString()
    {
        StringBuilder builder = new StringBuilder();
        builder.append("Taction [rotate=");
        builder.append(rotate);
        builder.append(", column=");
        builder.append(column);
        builder.append(", down=");
        builder.append(down);
        builder.append("]");
        return builder.toString();
    }
}
